<#include "/includes/header.ftl">
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
	<TD width="120" valign="top"><#include "/includes/leftbar.ftl"></TD>	
	<TD valign="top" width="90%">
	<#-- Main Content-->
		<table width="100%" border="0">
		  <tr>
		    <th colspan="7" align='center'>服务专区--产品登录</th>
		  </tr>
		  <tr>
		    <th colspan="7" align='center'><hr></th>
		  </tr>
		  <tr>
		    <th colspan="7" align='center'><hr></th>
		  </tr>
		  
			<tr>
			  <th scope="row" nowrap ><b>商品编号</b></th>
			  <th><b>名称</b></th>
			  <th nowrap><b>创建日期</b></th>
			  <th nowrap><b>修改日期</b></th>
			  <th nowrap><b>状态</b></th>
			  <th nowrap><b>图片</b></th>
			  <th nowrap><b>修改</b></th>
			</tr>

			<#if user2ContentGroupList?has_content>
				<#list user2ContentGroupList as user2ContentList>
					<#list user2ContentList as u2c>
						<TR>
								<TD width="1%" nowrap valign="top"><A href='<@spring.url "/viewproductdetail.jsp?csid=${u2c.content.sysId}&u2csid=${u2c.sysId}"/>'>${u2c.content.contentId?default("No-ContentId")}</A></TD>								
	              <td valign="top"><A href='<@spring.url "/viewproductdetail.jsp?csid=${u2c.content.sysId}"/>'>${u2c.content.name?default("No-Name")}</A></td>
	              <td valign="top"><#if u2c.lastUpdatedDate?has_content>${u2c.lastUpdatedDate?string("yyyy-MM-dd")}</#if></td>
	              <td valign="top"><#if u2c.lastUpdatedDate?has_content>${u2c.lastUpdatedDate?string("yyyy-MM-dd")}</#if></td>
	              <td valign="top" nowrap>
						      <#assign status = u2c.content.status?default(1001)>
								  <#if status == 1001>正在编辑
								  <#elseif status == 1002>申请审批
								  <#elseif status == 1003>审批失败
								  <#elseif status == 1004>审批通过
								  </#if>
								</td>
	              <td valign="top"><a href='<@spring.url "/uploadmyservedproductimages.asp?u2csid=${u2c.sysId}&csid=${u2c.content.sysId}"/>'>上传</a></td>
	              <td valign="top"><a href='<@spring.url "/editmyservedproductprofile.asp?u2csid=${u2c.sysId}&csid=${u2c.content.sysId}"/>'>修改</a></td>
						</TR>
					</#list>
				</#list>
				<TR><TD colspan="7" align="left"><#include "/includes/pagefooter.ftl"></TD></TR>         
			</#if>		

  </table>	
	<#-- /Main Content-->
	</TD>	
	<TD valign="top"><#include "/includes/rightbar.ftl"></TD>
</TR>
</TABLE>

<#include "/includes/footer.ftl">